package me.firstapp.repository.system;

import java.util.Date;
import java.util.Map;

import me.firstapp.common.utils.Page;
import me.firstapp.module.system.ApiClientRecord;
import me.firstapp.repository.base.EntityRepository;

public interface ApiClientRecordRepository extends EntityRepository<ApiClientRecord> {

	Page<ApiClientRecord> findApiClientRecordPage(Long apiClientId, Integer pageNo, Integer pageSize, Map<String, Object> searchParams,
			String sortParam, String sortType, Date startTime, Date endTime);
	
	Long findApiClientRecordCounts(Long apiClientId);
	
	Long findApiClientRecordTotalTimes(Long apiClientId);
}
